import ajax from './ajax'

export function login(userInfo) {
  return ajax.post('/api/login/sys', userInfo)
}

export function logout() {
  return ajax.delete('/api/logout')
}
